<?php
/**
 * Fake4
 * @copyright   Copyright(c) 2024-2034
 * @author      tianjie <527707665@qq.com>
 * @link        http://www.tinphp.com/
 */

namespace app\middleware;

use tian\MiddlewareInterface;
use tian\Response;
use tian\Request;

class IndexMiddleware implements MiddlewareInterface
{
    public function handle(Request $request, $next): Response
    {
        //应用中间件
        setLog('应用中间件 index 触发');

        return $next($request);
    }
}
